﻿using System;
using System.Collections.Generic;
using Module.Core.Member;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.Data;

namespace Web.Test.ConTrols
{
    public partial class calcuPoint : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            loadGridViewCalxxx();
        }
        protected void loadGridViewCalxxx()
        {
            TreeMemBer tree = new TreeMemBer();
            DataTable dt = null;
            dt = tree.getListMemBer();
            GridViewCal.DataSource = dt;
            GridViewCal.DataBind();
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            TreeMemBer tree = new TreeMemBer();
            tree.calcuPoint();
            loadGridViewCalxxx();
        }
    }
}